package com.haojiang.mh.service.entity;

/**
 * 最大最小
 *
 * Created by ZapFive on 2019-05-25.
 * <p>
 * wuzhuang@mirahome.me
 */
public class MinMaxBean {
    private int min = -1;
    private int max = -1;

    public int getMin() {
        return min;
    }

    public void setMin(int min) {
        this.min = min;
    }

    public int getMax() {
        return max;
    }

    public void setMax(int max) {
        this.max = max;
    }

    public boolean isNull() {
        return min == -1 && max == -1;
    }

    @Override
    public String toString() {
        return "MinMaxBean{" +
                "min=" + min +
                ", max=" + max +
                '}';
    }
}
